package com.example.designpattenexample.decorator;

public class ConcreteDecorator extends Decorator{

    public ConcreteDecorator(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        this.method();
        super.operation();
    }

    private void method(){
        System.out.println("装饰");
    }
}
